/*

* ------------------------------------------------------------------------
* ------------------------------------------------------------------------
* |     Smart-Shop开源商城系统/ Java商城-首选电商平台系统 请务必保留此注释头信息
* |     开源地址: https://gitee.com/ningbo-qishan/gruul-mall
* ------------------------------------------------------------------------
* ------------------------------------------------------------------------
* |     可正常分享和学习源码,未经授权 不可商用！
* |     商业版中台购买/开源版商业授权 联系技术客服
* |     官网:  https://www.73app.cn/
* ------------------------------------------------------------------------
* ------------------------------------------------------------------------
* |     Copyright (c) 2016-2999 宁波启山智软科技有限公司
* |     版权所有 ,侵权必究！
* ------------------------------------------------------------------------

*/
package com.medusa.gruul.platform.model.dto.agent;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.hibernate.validator.constraints.Range;

import javax.validation.constraints.NotNull;
import java.math.BigDecimal;

/**
 * @author whh
 * @description
 * @data: 2020/11/15
 */
@Data
public class AgentBalanceRechargeDto {

    @ApiModelProperty(value = "商户id")
    @NotNull(message = "请确认选择商户")
    private Long accountId;

    @ApiModelProperty(value = "余额")
    @NotNull(message = "请正确填写余额")
    private BigDecimal balance;

    @ApiModelProperty(value = "支付类型 1-支付宝支付   2-微信支付  3-汇款支付  4-余额支付")
    @NotNull(message = "支付类型错误")
    @Range(message = "支付类型错误", min = 1, max = 4)
    private Integer payType;

    @ApiModelProperty(value = "付款方信息(json) 线下打款(汇款支付)使用 {\"name\":\"姓名\",\"paymentTime\":\"付款时间\",\"account\":\"付款账号\"}")
    private String payInfo;
}
